package day02;

public class longDemo {
    public static void main(String[] args) {
        //2)long:长整型，8个字节
        long a=25L; //25L为长整型直接量
        //long b=10000000000; //编译错误，100亿默认为int类型，但超出int范围
        long c =10000000000L; //100亿L为长整型直接量
        //long d =3.14; //编译错误，长整型变量只能装整数

        long e =1000000000*2*10L;
        System.out.println(e);
        long f =1000000000*3*10L;
        System.out.println(f);
        long g =1000000000L*3*10;
        System.out.println(g);
    }
}
